<html>
<head>
    <title>上传书籍</title>

    <style type="text/css">
        .upload{
            width: 300px;
            margin: 50 auto;
        }
    </style>
</head>
<body>
<div class="upload">
    <form method="post" enctype="multipart/form-data">
        <label>
            上传<input type="file" name="txt">
        </label>
        <label>
            <button type="submit">提交</button>
        </label>
    </form>
</div>
</body>
</html>